home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / C-D / DeveloperStax.cpt / Developer Stack 1.2r / card_6402.txt < prev    next >
Text File  |  1989-02-26  |  1KB  |  63 lines

  1. -- card: 6402 from stack: in.2r
  2. -- bmap block id: 0
  3. -- flags: 4000
  4. -- background id: 2612
  5. -- name: Talk
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: A004
  11. -- rect: left=226 top=243 right=293 bottom=283
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 27056 / 27056
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Try it
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   if the optionkey is down then pass mouseup
  23.   talk "this is a test of the talk external command",150,150
  24. end mouseUp
  25.  
  26.  
  27.  
  28. -- part contents for background part 2
  29. ----- text -----
  30. Talk
  31.  
  32. -- part contents for background part 13
  33. ----- text -----
  34. 6
  35.  
  36. -- part contents for background part 3
  37. ----- text -----
  38.  
  39. You can use this command to access Macintalk and make your Macintosh talk.  Be sure that Macintalk is in your system folder.
  40.  
  41. See also the Speak* XCMD
  42.  
  43.  
  44.  
  45.  
  46. Thanks to:
  47. James Paul
  48.  
  49.  
  50. -- part contents for background part 10
  51. ----- text -----
  52. Syntax:
  53.  
  54. Talk <"TextToSpeak">,<rate>,<pitch>
  55.  
  56. <TextToSpeak> contains the words that you want Macintalk to speak.
  57.  
  58. <Rate> is the rate of speech.
  59.  
  60. <Pitch> is the pitch of speech
  61.  
  62.  
  63.